package org.csu.mall.service;

import org.csu.mall.common.UniformResponse;
import org.csu.mall.entity.Category;
import org.csu.mall.vo.CategoryVO;

import java.util.List;

public interface ICategoryService {

    UniformResponse<List<CategoryVO>> getChildrenCategory(String categoryId);

    UniformResponse<List<CategoryVO>> getAllChildrenCategory(String categoryId);

    UniformResponse<String> addCategory(Category category);

    UniformResponse<String> updateCategory(Category category);

    UniformResponse<String> cancelCategory(String categoryId);
}
